package pl.gettoknowme.mobile.android.model.dbtypes;

/**
 * Klasa odpowiadająca tabeli 'integration'
 * @author Michał Kołodziejski
 */
public class Integration {
    
    public enum IntegrationType {
        LOCATION,
        SMS_STATS,
        CALLS_STATS
    }

    private int id;
    private IntegrationType integrationType;
    private boolean isSuccessful;
    private long integrationTime;
    
    public Integration() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public IntegrationType getIntegrationType() {
        return integrationType;
    }

    public void setIntegrationType(IntegrationType integrationType) {
        this.integrationType = integrationType;
    }

    public boolean isSuccessful() {
        return isSuccessful;
    }

    public void setSuccessful(boolean isSuccessful) {
        this.isSuccessful = isSuccessful;
    }

    public long getIntegrationTime() {
        return integrationTime;
    }

    public void setIntegrationTime(long integrationTime) {
        this.integrationTime = integrationTime;
    }
}
